<template>
	<div id="zzz">
		
	
	<div id="herder">
		 <van-nav-bar
    title="千锋新闻"
    left-text="返回"
    right-text="登录"
    left-arrow
    @click-left="onClickLeft"
    @click-right="onClickRight"
  />
	</div>
 </div>

</template>

<script>
	import { Toast } from 'vant';

  export default {
    name:'Header',
    props:{},
    data(){
      return {
        
      }
    },
    components:{},
    mounted(){
		   
	},
    updated(){},
    methods:{ onClickLeft() {
window.history.back(-1);
		    },
		    onClickRight() {
		     		       window.location.href="/login";
		    },},
    computed:{  
		 
    }
  }
</script>

<style scoped>
	#zzz{height: 0.75rem;}
  #herder{position:fixed;top: 0;z-index: 100;width: 100%;}
</style>